package xin.homeant.api.common;

/**
 * <P>
 * api系统接口结果常量枚举类
 * </P>
 * 
 * @author homeant homeanter@163.com
 * @Data 2017年5月22日 下午2:23:02
 */
public enum ApiResultConstant {

    SUCCESS(1, "success");

    public int code;

    public String message;

    ApiResultConstant(int code, String message) {
        this.code = code;
        this.message = message;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

}
